package sz.szsmk.citizencard.ui.fragment;

import sz.szsmk.citizencard.DaggerApplication;
import sz.szsmk.citizencard.R;
import sz.szsmk.citizencard.databinding.SearchHotelBinding;
import sz.szsmk.citizencard.ioc.Compontent.DaggerCommonFragmentComponent;
import sz.szsmk.citizencard.mvp.contract.ISearchHotelContact;
import sz.szsmk.citizencard.mvp.presenter.SearchHotelPresenter;
import sz.szsmk.citizencard.ui.base.IBaseFragment;

/**
 * Copyright (c)2018
 * author: zdh
 * created on: 2018/7/13 10:19
 * description:
 */
public class SearchHotelFragment extends IBaseFragment<SearchHotelPresenter, SearchHotelBinding>
        implements ISearchHotelContact.ISearchHotelView {

    public static SearchHotelFragment getInstance() {
        SearchHotelFragment sf = new SearchHotelFragment();
        return sf;
    }

    @Override
    protected int attachLayoutRes() {
        return R.layout.search_hotel;
    }

    @Override
    protected void initInjector() {

        DaggerCommonFragmentComponent.builder().appCompontent(DaggerApplication.getAppComponent())
                .build().inject(this);
    }

    @Override
    protected void initViews() {

    }

    @Override
    protected void updateViews() {

    }

    @Override
    public void updataError() {

    }

    @Override
    public void getNewsInfoSucc() {

    }
}
